﻿@model QuanLyGiaoVuUI.Models.GiangVien.GiangVienViewModel
@{
    Layout = null;
}

@if(Model!=null && Model.DanhSachHocKy!=null)
{
<div class="editor-field" >
        @Html.DropDownListFor(m => m.HocKyHienTai.MaHocKy, new SelectList(Model.DanhSachHocKy, "MaHocKy", "TenHocKyDayDu"))
        @Html.ValidationMessageFor(model => model.HocKyHienTai.MaHocKy)
</div>
}
<script>
    $(document).ready(function () {
        $("#HocKyHienTai_MaHocKy").change(function () {
            var magv = $("#curID").val();
            $("#mainThongKeGV").load("/GiangVien/ThongKeGiangVien?magv=" + magv + "&mahk=" + $(this).val());
        });
    });
</script>